home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 2003 May (DVD) / Macworld Resource DVD May 2003.toast / Data / Software / Games / JKII_Demo.sit / Jedi Knight II Demo / demo / assets0.pk3 / ui / hud.menu < prev    next >
Encoding:
Text File  |  2002-03-22  |  3.1 KB  |  104 lines

  1. // HUD menu
  2. // 
  3. // defines from ui_shared.h
  4.  
  5.     assetGlobalDef 
  6.     {
  7. //        cursor                    "ui/assets/3_cursor2"            // cursor    
  8. //        gradientBar                "ui/assets/gradientbar2.tga"    // gradient bar
  9. //        fadeClamp                1.0                                // sets the fadeup alpha
  10. //        fadeCycle                1                                // how often fade happens in milliseconds
  11. //        fadeAmount                0.1                                // amount to adjust alpha per cycle
  12.  
  13. //        shadowX                    5                                // x amount for shadow offset
  14. //        shadowY                    5                                // y amount for shadow offset
  15. //        shadowColor                0.1 0.1 0.1 0.25                // shadow color
  16.  
  17. //        font                    "fonts/font" 16                    // font
  18. //        smallFont                "fonts/smallfont" 12            // font
  19.         bigFont                    "fonts/reallybigfont" 20                // font
  20.     }
  21. {
  22.     menuDef 
  23.     {
  24.         name                    "mainhud"
  25.         fullScreen                0                                // MENU_TRUE                
  26.         rect                    0 0 640 480                        // Size and position of the menu
  27.         visible                    1                                // Visible on open
  28.         focusColor                1 1 1 1                            // Focus color for text and items
  29.         appearanceIncrement        75                                // In miliseconds
  30.         descX                    320
  31.         descY                    434
  32.         descColor                .96 .933 .40 1                    // Focus color for text and items
  33.         descAlignment            ITEM_ALIGN_CENTER        
  34.  
  35.     }
  36.  
  37.     //    RIGHT SIDE HUD    //
  38.     menuDef 
  39.     {
  40.         name                    "righthud"
  41.         fullScreen                0                                // MENU_TRUE                
  42.         rect                    560 400 80 80                    // Size and position of the menu
  43.         visible                    1                                // Visible on open
  44.         focusColor                1 1 1 1                            // Focus color for text and items
  45.         appearanceIncrement        75                                // In miliseconds
  46.         descX                    320
  47.         descY                    434
  48.         descColor                .96 .933 .40 1                    // Focus color for text and items
  49.         descAlignment            ITEM_ALIGN_CENTER        
  50.     }
  51.  
  52.     //    LEFT SIDE HUD    //
  53.     menuDef 
  54.     {
  55.         name                    "lefthud"
  56.         fullScreen                0                                // MENU_TRUE                
  57.         rect                    0 400 80 80                        // Size and position of the menu
  58.         visible                    1                                // Visible on open
  59.         focusColor                1 1 1 1                            // Focus color for text and items
  60.         appearanceIncrement        75                                // In miliseconds
  61.         descX                    320
  62.         descY                    434
  63.         descColor                .96 .933 .40 1                    // Focus color for text and items
  64.         descAlignment            ITEM_ALIGN_CENTER        
  65.     }
  66.  
  67.     menuDef 
  68.     {
  69.         name                    "weaponselecthud"
  70.         fullScreen                0                                // MENU_TRUE                
  71.         rect                    30 410 0 0                        // Size and position of the menu
  72.         visible                    1                                // Visible on open
  73.         focusColor                1 1 1 1                            // Focus color for text and items
  74.     }
  75.  
  76.     menuDef 
  77.     {
  78.         name                    "forceselecthud"
  79.         fullScreen                0                                // MENU_TRUE                
  80.         rect                    30 410 0 0                        // Size and position of the menu
  81.         visible                    1                                // Visible on open
  82.         focusColor                1 1 1 1                            // Focus color for text and items
  83.     }
  84.  
  85.     menuDef 
  86.     {
  87.         name                    "inventoryselecthud"
  88.         fullScreen                0                                // MENU_TRUE                
  89.         rect                    30 410 0 0                        // Size and position of the menu
  90.         visible                    1                                // Visible on open
  91.         focusColor                1 1 1 1                            // Focus color for text and items
  92.     }
  93.  
  94.  
  95.     // Used as background for the Weapon, Force Powers, and Inventory HUDs
  96.     menuDef 
  97.     {
  98.         name                    "iconbackground"
  99.         fullScreen                0                                // MENU_TRUE                
  100.         rect                    30 410 0 0                        // Size and position of the menu
  101.         visible                    1                                // Visible on open
  102.         focusColor                1 1 1 1                            // Focus color for text and items
  103.     }
  104. }